package day12;
/**
 * 自定义异常
 * @author LLLLogan
 *
 */
public class Yichang02 extends Exception {
	private double amount;
	public Yichang02(double amount) {
		super("余额不足，还差" + amount);
		this.amount = amount;
	}
	
}
